package com.oa.ylms.apps.business.file;

import java.util.List;

import com.oa.ylms.apps.entity.file.FileInfoValue;

public interface IFileInfoService {
	
	    public int addFileInfo(String title, String fileUrl, int categoryId) throws Exception;
	    
	    public boolean deleteFileInfo(String fileIds) throws Exception;
		
		public FileInfoValue queryFileById(int fileId) throws Exception;

		public List<FileInfoValue> queryFileInfoWithPage(Integer categoryId, String title, String createTime, Integer states, int rows, int pageNo) throws Exception;
		
		public List<FileInfoValue> qureyFileInfo(Integer states) throws Exception;
		
		public int countTPages(Integer categoryId, String title, String createTime, Integer states, int rows)throws Exception;
		
		public int getTotalNumber () throws Exception;
		
        public boolean toDisable(int fileId) throws Exception;
        
        public boolean toEnable(int fileId) throws Exception;

}
